﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MDI.Master" AutoEventWireup="true" CodeBehind="frmEmpleados.aspx.cs" Inherits="CapaPresentacion.frmEmpleados" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
      <script src="assets/js/empleado.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cuerpo" runat="server">

    <div class="row">

        <div class="col-lg-12">
            <ol class="breadcrumb">
                <li class="active"><i class="fa fa-dashboard"></i>Empleados</li>
            </ol>
        </div>
    </div>
    <div id="tabs">
        <ul>
            <li><a href="#tabs-1">Lista De Empleados</a></li>            
        </ul>
        <div id="tabs-1">
            <div class="row">
                <div class="col-lg-12">
                    <div class="panel panel-default">
                        <div class="table-responsive">
                            <table id="tbListEmpleado" class="table table-bordered table-hover tablesorter">
                                <thead>
                                    <tr>
                                        <th>ID</th>
                                        <th>Nombres</th>
                                        <th>Apellidos</th>
                                        <th>DNI</th>
                                        <th>Cargo</th>
                                        <th>Usuario</th>
                                        <th>Modificar</th>
                                    </tr>
                                </thead>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="modal fade" id="modalEditarUser" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                    <h4 class="modal-title" id="H1">Editar Usuario</h4>
                </div>
                <div class="modal-body">
                    <div class="row">
                        <form id="frmEditarUsuario">
                            <div class=" col-lg-12 hidden">
                                <div class="form-group">
                                    <label>Id</label>
                                    <input id="idper" name="idper" class="form-control" onfocus="this.blur()" />
                                </div>
                            </div>
                            <div class=" col-lg-12">
                                <div class="form-group">
                                    <label>Usuario</label>
                                    <input id="user" name="user" class="form-control" />
                                </div>
                            </div>                          
                        </form>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secundary" data-dismiss="modal">Cancelar</button>
                    <button id="btn_actualizar_user" type="button" class="btn btn-primary" data-dismiss="modal">Actualizar</button>
                </div>
            </div>
        </div>
    </div>
        <div class="modal fade" id="modalEditarPass" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                    <h4 class="modal-title" id="H2">Editar Usuario</h4>
                </div>
                <div class="modal-body">
                    <div class="row">
                        <form id="frmUpdatePassUser">
                            <div class=" col-lg-12 hidden">
                                <div class="form-group">
                                    <label>Id</label>
                                    <input id="idperpass" name="idperpass" class="form-control" />
                                </div>
                            </div>
                            <div class=" col-lg-12">
                                <div class="form-group">
                                    <label>Password</label>
                                    <input type="password" id="pass" name="pass" class="form-control" />
                                </div>
                            </div>                          
                        </form>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secundary" data-dismiss="modal">Cancelar</button>
                    <button id="btnPass" type="button" class="btn btn-primary" data-dismiss="modal">Actualizar</button>
                </div>
            </div>
        </div>
    </div>
        
    </div>
</asp:Content>
